<?php
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
include APPLICATION_PATH . "/models/Feedback.php";
include APPLICATION_PATH . "/models/User.php";
include APPLICATION_PATH."/models/News.php";
/**
 * Description of FeedbackController
 *
 * @author Vu
 */
class KInhdoanh_FeedbackController extends Zend_Controller_Action {
    public function init() {
        $bootstrap = $this->getInvokeArg("bootstrap");
        $this->aConfig = $bootstrap->getOptions();
        $this->view->aConfig = $this->aConfig;
        $this->modelMapper= new Model_FeedbackMapper();
        $this->model= new Model_Feedback();
        $this->UsermodelMapper= new Model_UserMapper();
        $this->Usermodel= new Model_User();
        $this->NewsmodelMapper= new Model_NewsMapper();
    }
    
    public function indexAction(){
        
        $this->view->itemnews=$this->NewsmodelMapper->publicpublished5tin(2);
    }
}
